package org.easiermock;

import org.aopalliance.intercept.MethodInvocation;


/**
 * An interface for listening for operations that are invoked in a 
 * mock.
 * 
 * @author Neil Fuller
 */
public interface MethodListener {
	/**
	 * Called prior to a method invocation.
	 * 
	 * @param invocation the method invocation
	 */
	void beforeInvocation(MethodInvocation invocation);

}
